package ex2.advancedFeature.enumeration;

public class EnumDemo1 {
	public static void main(String args[]) {
		IMessage msg = Color.RED ; // 对象向上转型
		System.out.println(msg.getMessage());
		}
}
